package com.ctgu.rabbitmq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.rabbitmq.entity.OrdersEntity;
import com.ctgu.rabbitmq.utils.ApiResult;

import java.math.BigDecimal;

/**
* @author Alex2
* @description 针对表【t_orders】的数据库操作Service
* @createDate 2025-03-07 15:02:03
*/
public interface OrdersService extends IService<OrdersEntity> {

    ApiResult insertOrder(String name, BigDecimal price, Integer userId);

    ApiResult payment(String id);
}